<extend name="Layout:layout_edit" />
<block name="body_content_block">
    <form action="{:AddonU('Extension/extension_batch_edit_save')}" method="post">
        <table class="table-grid">
            <tr><th>分机号</th><th>显示号码</th></tr>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.userName}<input type='hidden' name='id[]' value="{$vo.id}" /></td>
                    <td><input type="text" name="ctiCallerNo[]" value="{$vo.ctiCallerNo}" required="required" /></td>
                <tr>
            </foreach>
        </table>        
    </form>
</block>
<block name="body_after_block">
    <script type="text/javascript">
        item_form.resize_owner_dialog({width: 370});
    </script>
</block>